﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EasyLucky.Common
{
    public class Lucky : ObservableObject
    {
        private int id;
        public int Id { get { return id; } set { SetProperty(ref id, value); } }

        private string name;
        /// <summary>
        /// 奖项名称，如：一，二
        /// </summary>
        public string Name { get { return name; } set { SetProperty(ref name, value); } }

        private int count;
        /// <summary>
        /// 奖品数量，即抽取人员数量
        /// </summary>
        public int Count { get { return count; } set { SetProperty(ref count, value); } }

        private int giftId;
        /// <summary>
        /// 礼品信息
        /// </summary>
        public int GiftId { get { return giftId; } set { SetProperty(ref giftId, value); } }

        private int level;
        public int Level { get { return level; } set { SetProperty(ref level, value); } }

        private string luckyType;
        public string LuckyType { get { return luckyType; } set { SetProperty(ref luckyType, value); } }

        private int luckyOrder;
        public int LuckyOrder { get { return luckyOrder; } set { SetProperty(ref luckyOrder, value); } }
    }
}
